package com.xio.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient(value = "cloudalibaba-provider-payment")
@RequestMapping("/payment")
public interface PaymentFeignService {

    @GetMapping("/echo/{string}")
    String echo(@PathVariable("string") String string);

}
